package cz.zcu.fav.rat.rest.beans;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "reservation")
@XmlType(name="")
public class ReservationMapping
{
	private int id;
	private PeriodsMapping periods;
	private int userId;
	private String userName;
	private int objectId;
	private String objectName;
	private boolean periodical;
	private int periodCount;

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public PeriodsMapping getPeriods()
	{
		return periods;
	}

	public void setPeriods(PeriodsMapping periods)
	{
		this.periods = periods;
	}

	public int getUserId()
	{
		return userId;
	}

	public void setUserId(int userId)
	{
		this.userId = userId;
	}

	public String getUserName()
	{
		return userName;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	public int getObjectId()
	{
		return objectId;
	}

	public void setObjectId(int objectId)
	{
		this.objectId = objectId;
	}

	public String getObjectName()
	{
		return objectName;
	}

	public void setObjectName(String objectName)
	{
		this.objectName = objectName;
	}

	public boolean isPeriodical()
	{
		return periodical;
	}

	public void setPeriodical(boolean periodical)
	{
		this.periodical = periodical;
	}

	public int getPeriodCount()
	{
		return periodCount;
	}

	public void setPeriodCount(int periodCount)
	{
		this.periodCount = periodCount;
	}

}
